
const defaultState = {
	tagList: [],
	articleList: []
}

export default (state = defaultState, action) => {
	switch(action.type) {
		case 'change_tag_list':
			return {
				...state,
				tagList: action.value
			}
		case 'change_article_list': 
			return {
				...state,
				articleList: action.value
			}
		default: 
			return state
	}
}